package cn.itcast.dewu.service;

import cn.itcast.dewu.dto.Result;
import cn.itcast.dewu.pojo.Goods;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【tb_goods】的数据库操作Service
* @createDate 2022-04-29 14:06:30
*/
public interface GoodsService extends IService<Goods> {

    Result queryGoodsByID(Long id);

    Result update(Goods goods);

    Result queryGoodsList(Integer corrent);

    Result queryGoodsByContent(Integer corrent, String content);

    Result queryMyGoods();

    Result saveGoods(Goods goods);

    Result deleteGoodsById(Long id);
}
